package cn.itcast.crm.test;

import java.util.List;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import cn.itcast.crm.dao.CustomerRepository;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations="classpath:applicationContext.xml")
public class test {
	@Autowired
	private CustomerRepository dao;
	
	@Test
	public void test01(){
		System.out.println(dao.findByFixedAreaIdIsNull());
		System.out.println(dao.findByFixedAreaId("dq001"));

	}
}
